/* CSS变量定义 */
:root {
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --bg-dark: #0f172a;
  --bg-card: rgba(15, 30, 61, 0.6);
  --border-color: rgba(59, 130, 246, 0.4);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.certificate-card {
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  flex-grow: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.card-title {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.card-icon {
  color: rgba(59, 130, 246, 0.7);
  font-size: 18px;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}

.stat-primary {
  color: var(--primary-color);
}

.stat-secondary {
  color: var(--secondary-color);
}

.stat-accent {
  color: var(--accent-color);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.progress-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.progress-item {
  margin-bottom: 12px;
}

.progress-item:last-child {
  margin-bottom: 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.progress-header span {
  font-size: 12px;
  color: var(--text-secondary);
}

.progress-header span:last-child {
  color: var(--text-primary);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: #f8f8f9;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease-in-out;
}

.progress-primary {
  background-color: var(--primary-color);
}

.progress-secondary {
  background-color: var(--secondary-color);
}

.progress-accent {
  background-color: var(--accent-color);
} 